home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / networking / ip / ka9q / net_src.arc / makefile.nec < prev    next >
Encoding:
Makefile  |  1989-05-08  |  6.7 KB  |  144 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for NEC PC-9801 with Aztec C
  3. #
  4. #
  5.  
  6. CFLAGS=    -DMSDOS +LC -DPC9801
  7. AFLAGS= -DMODEL=1
  8.  
  9. all:    net98.exe
  10.         
  11. .c.o:
  12.     cc $(CFLAGS) -o $@ $*.c
  13.  
  14. .asm.o:
  15.     as $(AFLAGS) -o $@ $*.asm
  16.  
  17. NETOBJS= telnet.o tnserv.o smisc.o \
  18.     ftpserv.o ftpcli.o ftp.o smtpserv.o smtpcli.o \
  19.     tcpcmd.o tcpuser.o tcptimer.o tcpout.o tcpin.o tcpsubr.o \
  20.     udpcmd.o udp.o \
  21.     ipcmd.o ip.o iproute.o \
  22.     icmpcmd.o icmp.o \
  23.     arpcmd.o arp.o \
  24.     ax25cmd.o ax25user.o ax25.o ax25subr.o lapbtime.o lapb.o \
  25.     ax_mbx.o \
  26.     slip.o kiss.o \
  27.     nrcmd.o nrs.o nr3.o nrsubr.o \
  28.     nr4.o nr4subr.o nr4user.o nr4timer.o \
  29.     iface.o timer.o ttydriv.o cmdparse.o mbuf.o alloc.o netuser.o \
  30.     misc.o pathname.o audit.o files.o icmpmsg.o \
  31.     fingcli.o fingserv.o
  32.  
  33. NETDUMP = trace.o enetdump.o \
  34.     ax25dump.o arpdump.o ipdump.o icmpdump.o udpdump.o tcpdump.o
  35.  
  36. PCOBJS= pc.o dirutil.o eccmd.o ec.o ecvec.o pktdrvr.o pkvec.o enet.o \
  37.     pc100.o pc100vec.o hapn.o \
  38.     hapnvec.o 8250.o asyvec.o pcgen.o eagle.o eaglevec.o 8530.o
  39.  
  40. HFILES= amiga.h arp.h ax_mbx.h ax25.h cmdparse.h config.h dir.h \
  41.     ftp.h global.h icmp.h iface.h internet.h  ip.h kiss.h lapb.h \
  42.     mbuf.h netuser.h session.h slip.h smtp.h tcp.h telnet.h \
  43.     timer.h trace.h udp.h
  44.  
  45. net98.exe:  pc.lib net.lib dump.lib makefile main.o version.o session.o
  46.     ln -t -o net.exe main.o version.o session.o net.lib pc.lib dump.lib -lclc
  47.  
  48. objects: $(NETOBJS) $(PCOBJS)
  49.     
  50. net.lib: $(NETOBJS)
  51.     lb net.lib $(NETOBJS)
  52.  
  53. dump.lib: $(NETDUMP)
  54.     lb dump.lib $(NETDUMP)
  55.  
  56. pc.lib: $(PCOBJS)
  57.     lb pc.lib $(PCOBJS)
  58.  
  59. clean:    
  60.     del *.lib
  61.     del *.o
  62.     del *.exe
  63.     del *.sym
  64.  
  65. 8530.o: 8530.c global.h 8530.h
  66. arp.o: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  67. arpcmd.o: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
  68. arpdump.o: arpdump.c global.h mbuf.h timer.h arp.h
  69. 8250.o: 8250.c global.h asy.h 8250.h iface.h
  70. ax_mbx.o: ax_mbx.c ax_mbx.h global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h netrom.h nr4.h
  71. ax25.o: ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h heard.h
  72. ax25cmd.o: ax25cmd.c global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h session.h ax_mbx.h heard.h
  73. ax25dump.o: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h
  74. ax25subr.o: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
  75. ax25user.o: ax25user.c global.h mbuf.h timer.h ax25.h lapb.h
  76. cmdparse.o: cmdparse.c global.h trace.h cmdparse.h
  77. eagle.o: eagle.c global.h mbuf.h iface.h eagle.h 8530.h ax25.h
  78.     cc $(CFLAGS) -E300 eagle.c
  79. ec.o: ec.c global.h mbuf.h enet.h ec.h iface.h timer.h arp.h trace.h
  80. eccmd.o: eccmd.c global.h mbuf.h ec.h
  81. enet.o: enet.c global.h mbuf.h enet.h
  82. enetdump.o: enetdump.c global.h mbuf.h enet.h trace.h
  83. files.o: files.c global.h config.h
  84. fingcli.o: finger.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h session.h
  85. fingserv.o: finger.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h session.h
  86. ftp.o: ftp.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h session.h
  87. ftpcli.o: ftpcli.c global.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h
  88. ftpserv.o: ftpserv.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h
  89. hapn.o: hapn.c global.h mbuf.h iface.h hapn.h ax25.h trace.h
  90. icmp.o: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
  91. icmpcmd.o: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
  92. icmpdump.o: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
  93. icmpmsg.o: icmpmsg.c global.h
  94. iface.o: iface.c iface.h
  95. ip.o: ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
  96. ipcmd.o: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
  97. ipdump.o: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
  98. iproute.o: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  99. kiss.o: kiss.c global.h mbuf.h iface.h kiss.h
  100. lapb.o: lapb.c global.h mbuf.h timer.h ax25.h lapb.h
  101. lapbtime.o: lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
  102. lcsum.o: lcsum.c global.h
  103. # This next line is for the PC
  104. main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h asy.h trace.h remote.h
  105. # and this is for the others
  106. #main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h trace.h
  107. mbuf.o: mbuf.c global.h mbuf.h
  108. mulport.o:    mulport.c global.h mbuf.h iface.h ax25.h config.h
  109. netuser.o: netuser.c global.h netuser.h
  110. nr3.o: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h
  111. nr4subr.o: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
  112. nr4timer.o: nr4timer.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
  113. nr4.o: nr4.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
  114. nr4user.o: nr4user.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
  115. nrcmd.o: nrcmd.c global.h config.h mbuf.h ax25.h netrom.h nr4.h timer.h iface.h lapb.h cmdparse.h session.h config.h ax_mbx.h
  116. nrs.o: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
  117. nrsubr.o: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
  118. pc.o: pc.c global.h mbuf.h internet.h iface.h cmdparse.h
  119. pc100.o: pc100.c global.h mbuf.h iface.h pc100.h 8530.h ax25.h trace.h
  120. pktdrvr.o: pktdrvr.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h regs.h pktdrvr.h
  121. session.o: session.c config.h global.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h ftp.h telnet.h session.h netrom.h nr4.h
  122. # This next line is for the PC
  123. slip.o: slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h trace.h
  124. # and this is for the others
  125. #slip.o: slip.c global.h mbuf.h iface.h ax25.h slip.h trace.h
  126. smisc.o: smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
  127. smtpcli.o: smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h
  128. smtpserv.o: smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
  129. tcpcmd.o: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  130. tcpdump.o: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
  131. tcpin.o: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  132. tcpout.o: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  133. tcpsubr.o: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  134. tcptimer.o: tcptimer.c global.h timer.h mbuf.h netuser.h internet.h ip.h tcp.h
  135. tcpuser.o: tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  136. telnet.o: telnet.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
  137. tnserv.o: tnserv.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
  138. trace.o: global.h mbuf.h iface.h trace.h
  139. timer.o: timer.c global.h timer.h
  140. udp.o: udp.c global.h mbuf.h netuser.h udp.h internet.h
  141. udpcmd.o: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h
  142. udpdump.o: udpdump.c global.h mbuf.h netuser.h internet.h udp.h
  143. version.o: version.c
  144.